Shopping Cart Overview
The shopping cart system in Publica.la enables users to purchase various types of products and subscriptions through different purchase flows and payment methods.
Supported Products
Cart-Compatible Products
The following products can be added to the shopping cart:
- Products with prices (including promotional prices)
- Recurring subscriptions (with/without private prices)
- One-time subscriptions (with/without private prices)
- Subscriptions with both private and public prices
Users can only add one subscription at a time to the cart.
Products with active promotions display their discounted prices in the cart. For details on how promotional pricing appears throughout the shopping experience, see Promotional Pricing Display.
Checkout-Compatible Products
Products that can complete the checkout process:
- Products with prices
- Recurring subscriptions with private and public prices
- One-time subscriptions with private and public prices
Purchase Methods
Available Purchase Entry Points
- From product page → Cart
- From subscription page or direct link → Cart
- From gifts page → CheckoutPaymentLinks (not yet supported in cart)
- From reader → CheckoutPaymentLinks (pending cart integration)
Purchase Flows
When browsing our catalog, users have two options to purchase content:
Add to Cart
The "Add to Cart" option allows users to add items to their shopping cart while continuing to browse the store. This is ideal for users who want to purchase multiple items in a single transaction.
Buy Now
The "Buy Now" option adds the selected item to the cart and immediately redirects users to the checkout page to complete their purchase. This streamlined approach is perfect for users who want to quickly purchase a single item.
Both options provide flexibility to accommodate different shopping preferences and scenarios.
Cart-Based Purchases
-
Standard Purchase Flow
- Product → Cart → Checkout → Payment (Stripe/MP) → Thank you
-
100% Discount Flow
- Product → Cart → 100% Coupon → Checkout → Thank you
-
Partial Discount Flow
- Product → Cart → < 99% Coupon → Checkout → Payment → Thank you
-
Subscription Purchase Flow
- Subscription with price → Cart → Checkout → Payment → Thank you
-
Subscription with Full Discount
- Subscription with price → Cart → 100% Coupon → Checkout → Thank you
-
Subscription with Partial Discount
- Subscription with price → Cart → < 99% Coupon → Checkout → Payment → Thank you
-
Free Subscription Flow
- Subscription without price → Cart → 100% Coupon → Checkout → Thank you
Direct Gift Purchases
- Gift page → CheckoutPaymentLinks → Payment → Thank you
Payment Processing
Gateway Integration
The shopping cart seamlessly integrates with Publica.la's supported payment gateways:
-
Automatic Gateway Selection
- System automatically selects the appropriate gateway based on:
- Currency selected
- User's geographical location
- Available payment methods
- System automatically selects the appropriate gateway based on:
-
Payment Methods
- Credit/debit cards (through Stripe/MercadoPago)
- Local payment methods (varies by region)
- Alternative payment options (when available)
Payment Flow
- User reviews cart and proceeds to checkout
- System selects appropriate payment gateway
- User enters payment information
- Gateway processes the transaction
- System confirms payment and activates purchase
Currency Handling
- Multiple currency support (based on store configuration)
- Automatic currency conversion when applicable
- Gateway-specific currency restrictions
For comprehensive information about currency handling, conversion, and pricing strategies, please refer to the Pricing Management documentation.